package com.smart.manager.product.entities.body;

import com.smart.common.entities.core.BaseSearch;
import com.smart.manager.product.entities.enums.CameraDirection;
import com.smart.manager.product.entities.enums.CameraStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 游戏管理  猪圈管理
 * @author leo
 * @date 2023/09/05
 */
public class RBasicCameraDetail {

    @Data
    @EqualsAndHashCode(callSuper = true)
    @ApiModel("RBasicPigsty1")
    public static class SearchBody extends BaseSearch {

        //通道名称
        @ApiModelProperty("设备ID")
        private String deviceSerial;
        //通道名称
        @ApiModelProperty("通道名称")
        private String channelName;

        //通道在线状态  (官方弃用) 0-不在线，1-在线
        @ApiModelProperty("通道在线状态  (官方弃用) 0-不在线，1-在线")
        private Boolean status;

        @ApiModelProperty("摄像头状态")
        private CameraStatus cameraStatus;

        @ApiModelProperty("摄像头位置")
        private CameraDirection cameraDirection;
    }


    @Data
    @ApiModel("RBasicPigsty2")
    public static class EditBody  implements Serializable {

        @ApiModelProperty("设备名称")
        private String channelName;

        @ApiModelProperty("摄像头位置")
        private CameraDirection cameraDirection;

        @ApiModelProperty("摄像头编码")
        private String videoLocation;

    }


}
